package com.gxa.mapper.points;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.dto.pointsdto.IntegrationDto;
import com.gxa.dto.pointsdto.UserDto;
import com.gxa.entity.points.Integration;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yjl
 * @since 2022-10-17 10:36:07
 */
@Mapper
public interface IntegrationMapper extends BaseMapper<Integration> {

    void add(Integration integration);
    IntegrationDto queryByUserName(String userName);
    void updateByuserName(IntegrationDto integration);
    UserDto queryByName(String name);
    List<UserDto>  queryAll();


}
